Call backend move_resize with the right coords/size
authorAlexander Larsson <alexl@redhat.com>
Tue, 20 Jan 2009 22:34:00 +0000 (23:34 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:20 +0000 (10:15 +0200)
We calculated and set the new position and size, just pass that.
This avoids parsing the "special values" again

gdk/gdkwindow.c

index 3122628a8159cd5b61d43202f8350d24d2bc7e1f..8da989c77de8d67c633930326fec4fa971b1af83 100644 (file)
@@ -6055,7 +6055,7 @@ gdk_window_move_resize_internal (GdkWindow *window,
     {
       /* Do the actual move after recomputing things, as this will have set the shape to
         the now correct one, thus avoiding copying regions that should not be copied. */
-      GDK_WINDOW_IMPL_GET_IFACE (private->impl)->move_resize (window, with_move, x, y, width, height);
+      GDK_WINDOW_IMPL_GET_IFACE (private->impl)->move_resize (window, TRUE, private->x, private->y, private->width, private->height);
     }
   else if (old_abs_x != private->abs_x ||
           old_abs_y != private->abs_y)